Step 1 - Create a new project and import assets

When you create a new project, Kanzi Studio creates a project directory in your Kanzi Studio workspace and adds to that directory the required file structure for the project. When importing assets to your project, Kanzi Studio copies the imported assets to the project directory.

You defined the location of the Kanzi Studio workspace during Kanzi installation.

In this step you first create a new project, then you import the assets you use in this tutorial.

Assets for the tutorial

The assets you use in this tutorial are stored in <KanziWorkspace>/Tutorials/First/Assets.

The <KanziWorkspace>/Tutorials/First/Completed directory contains the completed project of this tutorial.

Create a new Kanzi Studio project

In this section you create a new Kanzi Studio project and set the size of the application screen.

  1. Open Kanzi Studio.
  2. If you have the Welcome screen open, click Close.
  3. In the Quick Start screen click New Project....
  4. In the Create New Project window:

    Click OK to create the project.

    This is how Kanzi Studio looks when you create a new project.

  5. Configure the Screen node:
    1. In the Project window select the Screen node.
    2. In the Properties window set the Screen Resolution property to 854x480.
      This way you set the size of the application screen to always be 854 by 480 pixels.
    3. In the Properties window right-click and select Screen > Screen Clear Color to add the Screen Clear Color property.
      When the resolution of the Screen node is smaller than the resolution of the screen of the device on which you run your Kanzi application you need to set with the Screen Clear Color property which color you want to use in the areas outside of the Screen node.

Import assets

In this section you use the Assets window to import the images and 3D assets you need to complete this tutorial.

To import assets:

  1. In the Assets window located in the bottom part of the Kanzi Studio window click Import Assets.
  2. Go to the <KanziWorkspace>/Tutorials/First/Assets, select all files, and click Open.
    Kanzi Studio imports the selected assets to your project and shows them in the Assets window. Use the Assets window to view, select, and use the assets in your project.

    When importing 3D assets Kanzi Studio creates a prefab from each 3D asset and places the assets from the imported file into that prefab. The assets in this tutorial contain only one 3D asset stored which Kanzi Studio places in the Car prefab. To see the content of the prefab, in the Project window hover over its thumbnail.

< PREVIOUS STEP

NEXT STEP >

See also

To find out more about importing assets to your projects, see Importing.

To find out more about working with Kanzi Studio projects, see Projects.

To find out more about the Kanzi prefabs, see Using prefabs.